﻿using DtoFw.Query;
using DtoFw.Result;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DtoFw.Interface
{
    public interface ICommon
    {
        [Api(Router = "common/logs")]
        BaseGenericResult<Pager<LogResult>> GetLogs(LogQuery query);

        [Api(Router = "common/post/waraing")]
        BaseResult SaveWarningConfig(ConfigRequestDto dto);

        /// <summary>
        /// 硬件配置/流程配置调用
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        [Api(Router = "common/post/config/setting")]
        BaseResult SaveConfigSetting(ConfigSettingDto dto);
    }
}
